using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class SetParentBusinessUnitRequest : OrganizationRequest
	{
		public Guid BusinessUnitId
		{
			get
			{
				if (base.Parameters.Contains("BusinessUnitId"))
				{
					return (Guid)base.Parameters["BusinessUnitId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["BusinessUnitId"] = value;
			}
		}
		public Guid ParentId
		{
			get
			{
				if (base.Parameters.Contains("ParentId"))
				{
					return (Guid)base.Parameters["ParentId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ParentId"] = value;
			}
		}
		public SetParentBusinessUnitRequest()
		{
			base.RequestName = "SetParentBusinessUnit";
			this.BusinessUnitId = default(Guid);
			this.ParentId = default(Guid);
		}
	}
}
